Skip to content

Rename OneDrive

For some unknown reasons many cloud storage solutions will create folders with problematic nnames, like "My Drive", "OneDrive - BusinessName". The space and - will can cause problems with some programs, creating all kinds of bugs and incompatibilities, and there's no simple way of just renaming them.

With OneDrive it's possible to rename by editing some configuration files.

Process

  1. Login and connect your OneDrive if you haven't yet.
  2. Close the OneDrive instance you want to rename
  3. Goto %LocalAppData%\Microsoft\OneDrive\settings
  4. Inside the account you want to rename Business # look for {GUID}.ini and open in in a text editor
    (the GUID will be a random alphanumeric string, should be the second file in the folder)
  5. In the text editor you'll see something similar to the following

libraryScope = 0 {alphanumeric string} 5 "MySite" "ODB" 2 "{SharePoint URL}" "{alphanumeric string}" {alphanumeric string} {alphanumeric string} {alphanumeric string} {numbers} "C:\Users\Lin\OneDrive - Lin.YCV"

  1. Change the folder name to what you desire such as OneDrive2 and save the file
  2. Goto your user folder %USERPROFILE% and rename the OneDriveFolder to what you've set in the .ini file
  3. Restart OneDrive